/**
 *  Copyright 2009-2014 by WWW.KNET.CN  All rights reserved.
 */
package com.domain.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.domain.mapper.ISysNodeMapper;
import com.domain.model.SysNode;

/**
 * TODO(这里用一句话描述这个类的作用)
 * 
 * @author liujie
 * @date 2015年4月17日 下午1:25:05
 * 
 */
@Service(value = "sysNodeService")
public class SysNodeService {
	@Resource
	private ISysNodeMapper sysNodeMapper;
 
	public List<SysNode> getMenu(String nodeCode){
		return sysNodeMapper.getMenu(nodeCode);
	}
	public SysNode getNodeByCode(String nodeCode) {
		return sysNodeMapper.getNodeByCode(nodeCode);
	}

	public void deleteById(Long paramLong) {
		sysNodeMapper.deleteById(paramLong);
	}

	public int isUse(String nodeCode) {
		return sysNodeMapper.isUse(nodeCode);
	}

	public SysNode get(Long paramLong) {
		return sysNodeMapper.get(paramLong);
	}

	public List<Map<String, Object>> getListPage(Map<String, Object> paramMap) {
		return sysNodeMapper.getListPage(paramMap);
	}

	public Long getRows(Map<String, Object> paramMap) {
		return sysNodeMapper.getRows(paramMap);
	}

}
